home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 3159 < prev    next >
Mailbox/MIME Entity  |  1996-08-06  |  1.6 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: Mailbox/MIME Entity (archive/mbox).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Newsgroup Content (archive/news) magic Supported
100% dexvert Mailbox/MIME Entity (archive/mbox) magic Supported
100% dexvert Internet Message Format (text/imf) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file news, ASCII text default
100% checkBytes Printable ASCII default
100% dexmagic PrintFox/Pagefox WEAK default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/950 MIME Email (1.0) default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime message/news default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 73 61 | 6e 2d 6a 6f 73 65 2e 6e |Path: sa|n-jose.n|
|00000010| 65 74 67 65 6e 2e 63 6f | 6d 21 65 72 69 63 68 61 |etgen.co|m!ericha|
|00000020| 72 64 0a 46 72 6f 6d 3a | 20 45 72 69 63 20 52 69 |rd.From:| Eric Ri|
|00000030| 63 68 61 72 64 20 3c 65 | 72 69 63 68 61 72 64 40 |chard <e|richard@|
|00000040| 6e 65 74 67 65 6e 2e 63 | 6f 6d 3e 0a 4e 65 77 73 |netgen.c|om>.News|
|00000050| 67 72 6f 75 70 73 3a 20 | 63 6f 6d 70 2e 6c 61 6e |groups: |comp.lan|
|00000060| 67 2e 63 2b 2b 0a 53 75 | 62 6a 65 63 74 3a 20 52 |g.c++.Su|bject: R|
|00000070| 65 3a 20 47 43 43 20 61 | 6e 64 20 44 65 66 61 75 |e: GCC a|nd Defau|
|00000080| 6c 74 20 43 6f 6e 73 74 | 72 75 63 74 6f 72 73 0a |lt Const|ructors.|
|00000090| 44 61 74 65 3a 20 4d 6f | 6e 2c 20 32 32 20 4a 61 |Date: Mo|n, 22 Ja|
|000000a0| 6e 20 31 39 39 36 20 31 | 30 3a 33 31 3a 32 37 20 |n 1996 1|0:31:27 |
|000000b0| 2d 30 35 30 30 0a 4f 72 | 67 61 6e 69 7a 61 74 69 |-0500.Or|ganizati|
|000000c0| 6f 6e 3a 20 6e 65 74 2e | 47 65 6e 65 73 69 73 20 |on: net.|Genesis |
|000000d0| 43 6f 72 70 2e 0a 4d 65 | 73 73 61 67 65 2d 49 44 |Corp..Me|ssage-ID|
|000000e0| 3a 20 3c 50 69 6e 65 2e | 4c 4e 58 2e 33 2e 39 31 |: <Pine.|LNX.3.91|
|000000f0| 2e 39 36 30 31 32 32 31 | 30 32 39 35 37 2e 34 30 |.9601221|02957.40|
|00000100| 31 33 43 2d 31 30 30 30 | 30 30 40 73 61 6e 2d 6a |13C-1000|00@san-j|
|00000110| 6f 73 65 2e 6e 65 74 67 | 65 6e 2e 63 6f 6d 3e 0a |ose.netg|en.com>.|
|00000120| 52 65 66 65 72 65 6e 63 | 65 73 3a 20 3c 34 64 74 |Referenc|es: <4dt|
|00000130| 76 37 31 24 31 65 68 40 | 6e 65 77 73 31 2e 75 73 |v71$1eh@|news1.us|
|00000140| 61 2e 70 69 70 65 6c 69 | 6e 65 2e 63 6f 6d 3e 0a |a.pipeli|ne.com>.|
|00000150| 4e 4e 54 50 2d 50 6f 73 | 74 69 6e 67 2d 48 6f 73 |NNTP-Pos|ting-Hos|
|00000160| 74 3a 20 73 61 6e 2d 6a | 6f 73 65 2e 6e 65 74 67 |t: san-j|ose.netg|
|00000170| 65 6e 2e 63 6f 6d 0a 4d | 69 6d 65 2d 56 65 72 73 |en.com.M|ime-Vers|
|00000180| 69 6f 6e 3a 20 31 2e 30 | 0a 43 6f 6e 74 65 6e 74 |ion: 1.0|.Content|
|00000190| 2d 54 79 70 65 3a 20 54 | 45 58 54 2f 50 4c 41 49 |-Type: T|EXT/PLAI|
|000001a0| 4e 3b 20 63 68 61 72 73 | 65 74 3d 55 53 2d 41 53 |N; chars|et=US-AS|
|000001b0| 43 49 49 0a 49 6e 2d 52 | 65 70 6c 79 2d 54 6f 3a |CII.In-R|eply-To:|
|000001c0| 20 3c 34 64 74 76 37 31 | 24 31 65 68 40 6e 65 77 | <4dtv71|$1eh@new|
|000001d0| 73 31 2e 75 73 61 2e 70 | 69 70 65 6c 69 6e 65 2e |s1.usa.p|ipeline.|
|000001e0| 63 6f 6d 3e 20 0a 0a 3e | 20 3e 42 61 73 69 63 61 |com> ..>| >Basica|
|000001f0| 6c 6c 79 20 6d 79 20 70 | 72 6f 62 6c 65 6d 20 73 |lly my p|roblem s|
|00000200| 74 65 6d 6d 65 64 20 66 | 72 6f 6d 20 61 20 74 79 |temmed f|rom a ty|
|00000210| 70 6f 20 6f 6e 20 6d 79 | 20 70 61 72 74 20 61 6e |po on my| part an|
|00000220| 64 20 74 68 65 20 66 61 | 63 74 20 0a 3e 20 3e 74 |d the fa|ct .> >t|
|00000230| 68 61 74 20 43 2b 2b 20 | 77 69 6c 6c 20 61 75 74 |hat C++ |will aut|
|00000240| 6f 6d 61 74 69 63 61 6c | 6c 79 20 70 72 6f 76 69 |omatical|ly provi|
|00000250| 64 65 20 61 20 64 65 66 | 61 75 6c 74 20 63 6f 6e |de a def|ault con|
|00000260| 73 74 72 75 63 74 6f 72 | 20 66 6f 72 20 79 6f 75 |structor| for you|
|00000270| 20 69 66 20 0a 3e 20 3e | 79 6f 75 20 64 6f 6e 27 | if .> >|you don'|
|00000280| 74 20 70 72 6f 76 69 64 | 65 20 6f 6e 65 2e 20 20 |t provid|e one. |
|00000290| 54 6f 20 6d 61 6b 65 20 | 61 20 6c 6f 6e 67 20 73 |To make |a long s|
|000002a0| 74 6f 72 79 20 73 68 6f | 72 74 2c 20 49 20 68 61 |tory sho|rt, I ha|
|000002b0| 64 20 61 20 63 6c 61 73 | 73 20 0a 3e 20 3e 6e 61 |d a clas|s .> >na|
|000002c0| 6d 65 64 20 27 51 75 65 | 72 79 54 61 62 6c 65 27 |med 'Que|ryTable'|
|000002d0| 20 61 6e 64 20 68 61 64 | 20 64 65 66 69 6e 65 64 | and had| defined|
|000002e0| 20 61 20 63 6f 6e 73 74 | 72 75 63 74 6f 72 20 27 | a const|ructor '|
|000002f0| 71 75 65 72 79 54 61 62 | 6c 65 3a 3a 51 75 65 72 |queryTab|le::Quer|
|00000300| 79 54 61 62 6c 65 27 2e | 0a 3e 20 2e 2e 2e 0a 3e |yTable'.|.> ....>|
|00000310| 20 41 72 65 20 79 6f 75 | 20 73 61 79 69 6e 67 20 | Are you| saying |
|00000320| 74 68 61 74 20 74 68 65 | 20 63 6f 6d 70 69 6c 65 |that the| compile|
|00000330| 72 20 61 63 63 65 70 74 | 65 64 20 61 20 66 75 6e |r accept|ed a fun|
|00000340| 63 74 69 6f 6e 20 64 65 | 66 69 6e 69 74 69 6f 6e |ction de|finition|
|00000350| 20 0a 3e 20 66 6f 72 20 | 61 6e 20 75 6e 64 65 63 | .> for |an undec|
|00000360| 6c 61 72 65 64 20 63 6c | 61 73 73 3f 3f 3f 20 20 |lared cl|ass??? |
|00000370| 41 6e 79 20 64 65 63 65 | 6e 74 20 63 6f 6d 70 69 |Any dece|nt compi|
|00000380| 6c 65 72 20 2d 2d 20 61 | 6e 64 20 67 63 63 2f 67 |ler -- a|nd gcc/g|
|00000390| 2b 2b 20 20 0a 3e 20 63 | 65 72 74 61 69 6e 6c 79 |++ .> c|ertainly|
|000003a0| 20 69 73 20 64 65 63 65 | 6e 74 20 2d 2d 20 73 68 | is dece|nt -- sh|
|000003b0| 6f 75 6c 64 20 6e 6f 74 | 20 6f 6e 6c 79 20 77 61 |ould not| only wa|
|000003c0| 72 6e 20 79 6f 75 2c 20 | 62 75 74 20 72 65 66 75 |rn you, |but refu|
|000003d0| 73 65 20 74 6f 20 63 6f | 6d 70 69 6c 65 20 0a 3e |se to co|mpile .>|
|000003e0| 20 74 68 65 20 66 69 6c | 65 2e 20 20 4d 61 79 62 | the fil|e. Mayb|
|000003f0| 65 20 79 6f 75 27 76 65 | 20 6c 65 66 74 20 6f 75 |e you've| left ou|
|00000400| 74 20 73 6f 6d 65 74 68 | 69 6e 67 20 72 65 6c 65 |t someth|ing rele|
|00000410| 76 61 6e 74 2e 20 20 4f | 72 20 6d 61 79 62 65 20 |vant. O|r maybe |
|00000420| 79 6f 75 20 0a 3e 20 68 | 61 76 65 20 61 6e 6f 74 |you .> h|ave anot|
|00000430| 68 65 72 20 74 79 70 6f | 2e 20 0a 0a 54 68 69 73 |her typo|. ..This|
|00000440| 20 69 73 20 65 78 61 63 | 74 6c 74 79 20 77 68 61 | is exac|tlty wha|
|00000450| 74 20 49 20 61 6d 20 73 | 61 79 69 6e 67 2e 2e 2e |t I am s|aying...|
|00000460| 4b 69 6e 64 61 20 77 65 | 69 72 64 2c 20 65 68 3f |Kinda we|ird, eh?|
|00000470| 20 20 49 20 77 6f 75 6c | 64 20 68 61 76 65 20 0a | I woul|d have .|
|00000480| 74 68 6f 75 67 68 74 20 | 74 68 61 74 20 47 43 43 |thought |that GCC|
|00000490| 20 77 6f 75 6c 64 20 68 | 61 76 65 20 45 49 54 48 | would h|ave EITH|
|000004a0| 45 52 20 77 61 72 6e 65 | 64 20 6d 65 20 74 68 61 |ER warne|d me tha|
|000004b0| 74 20 69 74 20 77 61 73 | 20 75 73 69 6e 67 0a 74 |t it was| using.t|
|000004c0| 68 65 20 64 65 66 61 75 | 6c 74 20 63 6f 6e 73 74 |he defau|lt const|
|000004d0| 72 75 63 74 6f 72 20 6f | 72 20 74 6f 6c 64 20 6d |ructor o|r told m|
|000004e0| 65 20 74 68 61 74 20 74 | 68 69 73 20 66 75 6e 63 |e that t|his func|
|000004f0| 74 69 6f 6e 20 49 20 77 | 72 6f 74 65 20 77 61 73 |tion I w|rote was|
|00000500| 0a 66 6f 72 20 61 20 63 | 6c 61 73 73 20 74 68 61 |.for a c|lass tha|
|00000510| 74 20 64 69 64 6e 27 74 | 20 65 78 69 73 74 2e 0a |t didn't| exist..|
|00000520| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00000530| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 2d | | -|
|00000540| 45 72 69 63 20 52 69 63 | 68 61 72 64 0a 20 0a 45 |Eric Ric|hard. .E|
|00000550| 72 69 63 20 52 69 63 68 | 61 72 64 20 2d 2d 2d 2d |ric Rich|ard ----|
|00000560| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000570| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 20 |--------|------- |
|00000580| 76 6f 69 63 65 3a 20 28 | 36 31 37 29 20 35 37 37 |voice: (|617) 577|
|00000590| 2d 39 38 30 30 0a 6e 65 | 74 2e 47 65 6e 65 73 69 |-9800.ne|t.Genesi|
|000005a0| 73 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |s | |
|000005b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000005c0| 20 20 20 20 20 20 20 20 | 20 66 61 78 3a 20 28 36 | | fax: (6|
|000005d0| 31 37 29 20 35 37 37 2d | 39 38 35 30 0a 36 38 20 |17) 577-|9850.68 |
|000005e0| 52 6f 67 65 72 73 20 53 | 74 20 20 20 20 20 20 20 |Rogers S|t |
|000005f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000600| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000610| 65 72 69 63 68 61 72 64 | 40 6e 65 74 67 65 6e 2e |erichard|@netgen.|
|00000620| 63 6f 6d 20 0a 43 61 6d | 62 72 69 64 67 65 2c 20 |com .Cam|bridge, |
|00000630| 4d 41 20 30 32 31 34 32 | 20 2d 2d 2d 2d 2d 2d 2d |MA 02142| -------|
|00000640| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000650| 2d 2d 2d 2d 20 68 74 74 | 70 3a 2f 2f 77 77 77 2e |---- htt|p://www.|
|00000660| 6e 65 74 67 65 6e 2e 63 | 6f 6d 2f 0a 0a 0a |netgen.c|om/... |
+--------+-------------------------+-------------------------+--------+--------+